StringList: add missing nullability annotations
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Tue, 24 Nov 2020 20:41:18 +0000 (21:41 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 2 Dec 2020 15:36:29 +0000 (10:36 -0500)
gtk/gtkstringlist.c

index 18474b013e3e8a8786e12bdfea6503e076c7979a..64e2e56155f6de2c8491eb9e0878f842cf719e8f 100644 (file)
@@ -557,7 +557,7 @@ gtk_string_list_remove (GtkStringList *self,
  * This function returns the const char *. To get the
  * object wrapping it, use g_list_model_get_item().
  *
- * Returns: the string at the given position
+ * Returns: (nullable): the string at the given position
  */
 const char *
 gtk_string_list_get_string (GtkStringList *self,